<%@page language="java" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String contextPath = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+contextPath+"/";
%>
<c:set var="context"  value="<%=contextPath%>"></c:set>
<c:set var="basePath"  value="<%=basePath%>"></c:set>
<c:set var="siteversion" value="version-1.0"></c:set>
<script type="text/javascript">
	var scriptGlobal ={
		appRoot: "<%=contextPath%>",
		hostUrl: "<%=basePath%>"
	};
</script>